﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using MarketOnlineBUS;
using MarketOnlineDTO;

public partial class Test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        init();
    }

    public void init()
    {
        List<SanPhamDTO> list = new List<SanPhamDTO>();
        list.Add(new SanPhamBUS().LaySanPham(1));

        dgvSanPham.DataSource = list;
        dgvSanPham.DataBind();

        
    }
}